package cn.gok.oop;

/**
 * @ClassName ClassTest
 * @Description TODO
 * @Author HP
 * @Date 9:52 2022/7/5
 * @Version 1.0
 **/
class Person{
     int age;
     String sex;
     String name;
     String school;
    public void show(){
        System.out.print(age+" "+sex+" "+name+" "+school);
    }
}

public class ClassTest{

    public static void main(String[] args) {
        Person person= new Person();
        person.age=18;
        person.sex="male";
        person.name="小林";
        person.school="泉职大";
        person.show();
    }

}
